package sso.lry.system.cotroller;

import com.lry.sso.service.service.RoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import sso.lry.system.vo.RoleVo;

/**
 * @author 李瑞益
 * @date 2020-03-02 20:40
 */
@RestController
@RequestMapping("/sso/sys/v1/roles")
public class RoleController {

    @Autowired
    private RoleService roleService;

    @GetMapping
    public void getAll(){

    }

    @GetMapping("/{roleId}")
    public void getOne(@PathVariable Long roleId){

    }

    @DeleteMapping("/{roleId}")
    public void delete(@PathVariable Long roleId){

    }

    @PutMapping("/{roleId}")
    public void update(@RequestBody RoleVo roleVo) {

    }

    @PostMapping("")
    public void insert(@RequestBody RoleVo roleVo){

    }

}
